package com.eascs.ticket.ticket.form;

import java.util.Date;

import com.eascs.app.dao.sql.SqlBuilderExpression;
import com.eascs.app.dao.sql.SqlExpression;
import com.eascs.app.dao.sql.SqlGroupExpression;

public class UserTicketStatisticsForm {

	@SqlGroupExpression()
	private String groupBy;
	/*
	 * this week, last week,this month,last month
	 */
	private String type;

	@SqlBuilderExpression(value = SqlExpression.EQUAL_OR_GREATER, columnName = "tscl.create_date")
	private Date fromDate;

	@SqlBuilderExpression(value = SqlExpression.LESSER, columnName = "tscl.create_date")
	private Date toDate;

	public String getGroupBy() {
		return groupBy;
	}

	public void setGroupBy(String groupBy) {
		this.groupBy = groupBy;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getFromDate() {
		return fromDate;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	public Date getToDate() {
		return toDate;
	}

	public void setToDate(Date toDate) {
		this.toDate = toDate;
	}

}
